package com.sise.producer8002.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author:ljf
 * @date: 2020/6/9
 * @description:
 **/
@Component
@FeignClient(value = "DBSERVICE")
public interface personService {

    @RequestMapping(value = "/getPersonById/{id}")
    public String findPerson(@PathVariable("id") Integer id);
}
